<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

include_once('adminController.php');
class Welcome extends AdminController {
		function __construct() {
                parent::__construct();
        }

	public function index() {
		$this->load->library('session');
		$user = $this->session->userdata('user');
		$this->load->model('admin_profile_model');
		$main_menu = $this->admin_profile_model->getMenu();	
		
		$data = array();
		$data['user'] = $user;
		$data['main_menu'] = $main_menu;
		$this->load->view('index', $data);
	}
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */
